// samsting : this file is auto create.

#include "Rds/2014-08-15/DescribeBinlogFilesResponse.h"

namespace aliyun { namespace Rds {

DescribeBinlogFilesResponse::DescribeBinlogFilesResponse() {
}

int64 DescribeBinlogFilesResponse::BinLogFile::GetFileSize(void) const {
  return FileSize_;
}

const string& DescribeBinlogFilesResponse::BinLogFile::GetLogBeginTime(void) const {
  return LogBeginTime_;
}

const string& DescribeBinlogFilesResponse::BinLogFile::GetLogEndTime(void) const {
  return LogEndTime_;
}

const string& DescribeBinlogFilesResponse::BinLogFile::GetDownloadLink(void) const {
  return DownloadLink_;
}

const string& DescribeBinlogFilesResponse::BinLogFile::GetLinkExpiredTime(void) const {
  return LinkExpiredTime_;
}

const std::vector<DescribeBinlogFilesResponse::BinLogFile>& DescribeBinlogFilesResponse::GetItems(void) const {
  return Items_;
}

int DescribeBinlogFilesResponse::GetTotalRecordCount(void) const {
  return TotalRecordCount_;
}

int DescribeBinlogFilesResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int DescribeBinlogFilesResponse::GetPageRecordCount(void) const {
  return PageRecordCount_;
}

const char* DescribeBinlogFilesResponse::BaseKey(void) {
  return "DescribeBinlogFilesResponse";
}

void DescribeBinlogFilesResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Items__length = 0;
  UnmarshallerInt(Items__length, response_map, "DescribeBinlogFilesResponse.Items.Length");
  if(Items__length >= 0) {
    Items_.resize(Items__length);
    for(int i1 = 0; i1 < Items__length; i1++) {
      UnmarshallerInt64(Items_[i1].FileSize_, response_map, "DescribeBinlogFilesResponse.Items["+string_ValueOfInt(i1)+"].FileSize");
      UnmarshallerString(Items_[i1].LogBeginTime_, response_map, "DescribeBinlogFilesResponse.Items["+string_ValueOfInt(i1)+"].LogBeginTime");
      UnmarshallerString(Items_[i1].LogEndTime_, response_map, "DescribeBinlogFilesResponse.Items["+string_ValueOfInt(i1)+"].LogEndTime");
      UnmarshallerString(Items_[i1].DownloadLink_, response_map, "DescribeBinlogFilesResponse.Items["+string_ValueOfInt(i1)+"].DownloadLink");
      UnmarshallerString(Items_[i1].LinkExpiredTime_, response_map, "DescribeBinlogFilesResponse.Items["+string_ValueOfInt(i1)+"].LinkExpiredTime");
    } // for(int i1 = 0; i1 < Items__length; i1++) {
  } // if(Items__length >= 0) {

  UnmarshallerInt(TotalRecordCount_, response_map, "DescribeBinlogFilesResponse.TotalRecordCount");
  UnmarshallerInt(PageNumber_, response_map, "DescribeBinlogFilesResponse.PageNumber");
  UnmarshallerInt(PageRecordCount_, response_map, "DescribeBinlogFilesResponse.PageRecordCount");
}


} } // namespace aliyun { namespace Rds {

// end of file 
